import java.util.Arrays;
import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lily
 * Date: 2024-11-05
 * Time: 19:34
 */
public class test_1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNextInt()) { // 注意 while 处理多个 case
            int n = in.nextInt();
            int[] arr = new int[n];
            for (int i = 0; i < n; i++) {
                int m = i / 2;
                if (i % 2 == 0) {
                    arr[i] = m + 1;
                } else {
                    arr[i] = n - m;
                }
            }

            for (int num : arr) {
                System.out.print(num + " ");
            }
        }
    }
}
